/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package card.gui;

import gui.core.CoreFrame;
import gui.core.JDialog_AbstractArea;
import javax.swing.JLabel;
import javax.swing.JTextArea;

/**
 *
 * @author DCorrea
 */
public class JDialogGenBill extends JDialog_AbstractArea {

    javax.swing.JScrollPane JScrollPane1 = new javax.swing.JScrollPane();
    javax.swing.JTextArea JTextArea;

    public JDialogGenBill() {

    }

    @Override
    protected JTextArea makeArea() {

        JTextArea = new javax.swing.JTextArea();
        JTextArea.setBounds(0, 0, 355, 237);
        String billstring;
        billstring = "Name= John White\r\n";
        billstring += "Address= 1000 Main, Fairfield, IA, 52556\r\n";
        billstring += "CC number= 2341 3421 4444 5689\r\n";
        billstring += "CC type= GOLD\r\n";
        billstring += "Previous balance = $ 100.00\r\n";
        billstring += "Total Credits = $ 25.00\r\n";
        billstring += "Total Charges = $ 560.00\r\n";
        billstring += "New balance = $ 638.75\r\n";
        billstring += "Total amount due = $ 63.88\r\n";
        billstring += "\r\n";
        billstring += "\r\n";
        billstring += "Name= Frank Summer\r\n";
        billstring += "Address= 1000 N, 4th St, Fairfield, IA, 52556\r\n";
        billstring += "CC number= 0099 3421 4321 6577\r\n";
        billstring += "CC type= BRONZE\r\n";
        billstring += "Previous balance = $ 200.00\r\n";
        billstring += "Total Credits = $ 45.00\r\n";
        billstring += "Total Charges = $ 150.00\r\n";
        billstring += "New balance = $ 313.53\r\n";
        billstring += "Total amount due = $ 34.49\r\n";
        JTextArea.setText(billstring);

        return JTextArea;
    }
}
